package com.hmdp.dto;

import com.hmdp.entity.Shop;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @projectName: hm-dianping
 * @package: com.hmdp.entity
 * @className: ShopRedisDTO
 * @author: Mocrash
 * @description: TODO
 * @date: 2024/9/2 10:44
 * @version: 1.0
 */
@Data
public class ShopRedisDTO extends Shop {
    /*过期时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime leaveDateTime;
}
